﻿using System;
using System.Linq;

namespace MusicPlayer
{
    public class Song
    {
        public string Artist { get; set; }
        //public string Title { get; set; }
        public string Location { get; private set; }
        //public string Album { get; set; }

        public Song(string location, string artist = "", string title = "", string album = "")
        {

            this.Artist = location.Substring(location.LastIndexOf("\\") + 1);
            //this.Title = title;
            this.Location = location;


            //this.Album = album;
        }
    }
}
